Optimal. Leaf size=198 \[ -\frac{a^3 c}{2 x^2}-\frac{a^3 d}{x}+a^3 e \log (x)+a^2 x (a f+3 b c)+\frac{1}{2} a^2 x^2 (a g+3 b d)+a^2 b e x^3+\frac{1}{7} b^2 x^7 (3 a f+b c)+\frac{1}{8} b^2 x^8 (3 a g+b d)+\frac{1}{2} a b^2 e x^6+\frac{3}{4} a b x^4 (a f+b c)+\frac{3}{5} a b x^5 (a g+b d)+\frac{h \left (a+b x^3\right )^4}{12 b}+\frac{1}{9} b^3 e x^9+\frac{1}{10} b^3 f x^{10}+\frac{1}{11} b^3 g x^{11} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.465261, antiderivative size = 198, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 38, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.053 \[ -\frac{a^3 c}{2 x^2}-\frac{a^3 d}{x}+a^3 e \log (x)+a^2 x (a f+3 b c)+\frac{1}{2} a^2 x^2 (a g+3 b d)+a^2 b e x^3+\frac{1}{7} b^2 x^7 (3 a f+b c)+\frac{1}{8} b^2 x^8 (3 a g+b d)+\frac{1}{2} a b^2 e x^6+\frac{3}{4} a b x^4 (a f+b c)+\frac{3}{5} a b x^5 (a g+b d)+\frac{h \left (a+b x^3\right )^4}{12 b}+\frac{1}{9} b^3 e x^9+\frac{1}{10} b^3 f x^{10}+\frac{1}{11} b^3 g x^{11} \]
Antiderivative was successfully verified.
[In] Int[((a + b*x^3)^3*(c + d*x + e*x^2 + f*x^3 + g*x^4 + h*x^5))/x^3,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{a^{3} c}{2 x^{2}} - \frac{a^{3} d}{x} + a^{3} e \log{\left (x \right )} + \frac{a^{2} x^{3} \left (a h + 3 b e\right )}{3} + a^{2} \left (a g + 3 b d\right ) \int x\, dx + \frac{a^{2} \left (a f + 3 b c\right ) \int f\, dx}{f} + \frac{a b x^{6} \left (a h + b e\right )}{2} + \frac{3 a b x^{5} \left (a g + b d\right )}{5} + \frac{3 a b x^{4} \left (a f + b c\right )}{4} + \frac{b^{3} f x^{10}}{10} + \frac{b^{3} g x^{11}}{11} + \frac{b^{3} h x^{12}}{12} + \frac{b^{2} x^{9} \left (3 a h + b e\right )}{9} + \frac{b^{2} x^{8} \left (3 a g + b d\right )}{8} + \frac{b^{2} x^{7} \left (3 a f + b c\right )}{7} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((b*x**3+a)**3*(h*x**5+g*x**4+f*x**3+e*x**2+d*x+c)/x**3,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.499923, size = 174, normalized size = 0.88 \[ \frac{a^3 \left (-3 c-6 d x+x^3 \left (6 f+3 g x+2 h x^2\right )\right )}{6 x^2}+a^3 e \log (x)+\frac{1}{20} a^2 b x \left (60 c+x \left (30 d+x \left (20 e+15 f x+12 g x^2+10 h x^3\right )\right )\right )+\frac{1}{840} a b^2 x^4 (630 c+x (504 d+5 x (84 e+x (72 f+7 x (9 g+8 h x)))))+\frac{b^3 x^7 \left (3960 c+7 x \left (495 d+440 e x+6 x^2 \left (66 f+60 g x+55 h x^2\right )\right )\right )}{27720} \]
Antiderivative was successfully verified.
[In] Integrate[((a + b*x^3)^3*(c + d*x + e*x^2 + f*x^3 + g*x^4 + h*x^5))/x^3,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.011, size = 222, normalized size = 1.1 \[{\frac{{b}^{3}h{x}^{12}}{12}}+{\frac{{b}^{3}g{x}^{11}}{11}}+{\frac{{b}^{3}f{x}^{10}}{10}}+{\frac{{x}^{9}a{b}^{2}h}{3}}+{\frac{{b}^{3}e{x}^{9}}{9}}+{\frac{3\,{x}^{8}a{b}^{2}g}{8}}+{\frac{{x}^{8}{b}^{3}d}{8}}+{\frac{3\,{x}^{7}a{b}^{2}f}{7}}+{\frac{{x}^{7}{b}^{3}c}{7}}+{\frac{{x}^{6}{a}^{2}bh}{2}}+{\frac{a{b}^{2}e{x}^{6}}{2}}+{\frac{3\,{x}^{5}{a}^{2}bg}{5}}+{\frac{3\,{x}^{5}a{b}^{2}d}{5}}+{\frac{3\,{x}^{4}{a}^{2}bf}{4}}+{\frac{3\,{x}^{4}a{b}^{2}c}{4}}+{\frac{{x}^{3}{a}^{3}h}{3}}+{a}^{2}be{x}^{3}+{\frac{{x}^{2}{a}^{3}g}{2}}+{\frac{3\,{x}^{2}{a}^{2}bd}{2}}+{a}^{3}fx+3\,x{a}^{2}bc+{a}^{3}e\ln \left ( x \right ) -{\frac{{a}^{3}c}{2\,{x}^{2}}}-{\frac{{a}^{3}d}{x}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((b*x^3+a)^3*(h*x^5+g*x^4+f*x^3+e*x^2+d*x+c)/x^3,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.38317, size = 286, normalized size = 1.44 \[ \frac{1}{12} \, b^{3} h x^{12} + \frac{1}{11} \, b^{3} g x^{11} + \frac{1}{10} \, b^{3} f x^{10} + \frac{1}{9} \,{\left (b^{3} e + 3 \, a b^{2} h\right )} x^{9} + \frac{1}{8} \,{\left (b^{3} d + 3 \, a b^{2} g\right )} x^{8} + \frac{1}{7} \,{\left (b^{3} c + 3 \, a b^{2} f\right )} x^{7} + \frac{1}{2} \,{\left (a b^{2} e + a^{2} b h\right )} x^{6} + \frac{3}{5} \,{\left (a b^{2} d + a^{2} b g\right )} x^{5} + \frac{3}{4} \,{\left (a b^{2} c + a^{2} b f\right )} x^{4} + a^{3} e \log \left (x\right ) + \frac{1}{3} \,{\left (3 \, a^{2} b e + a^{3} h\right )} x^{3} + \frac{1}{2} \,{\left (3 \, a^{2} b d + a^{3} g\right )} x^{2} +{\left (3 \, a^{2} b c + a^{3} f\right )} x - \frac{2 \, a^{3} d x + a^{3} c}{2 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((h*x^5 + g*x^4 + f*x^3 + e*x^2 + d*x + c)*(b*x^3 + a)^3/x^3,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.233693, size = 296, normalized size = 1.49 \[ \frac{2310 \, b^{3} h x^{14} + 2520 \, b^{3} g x^{13} + 2772 \, b^{3} f x^{12} + 3080 \,{\left (b^{3} e + 3 \, a b^{2} h\right )} x^{11} + 3465 \,{\left (b^{3} d + 3 \, a b^{2} g\right )} x^{10} + 3960 \,{\left (b^{3} c + 3 \, a b^{2} f\right )} x^{9} + 13860 \,{\left (a b^{2} e + a^{2} b h\right )} x^{8} + 16632 \,{\left (a b^{2} d + a^{2} b g\right )} x^{7} + 20790 \,{\left (a b^{2} c + a^{2} b f\right )} x^{6} + 27720 \, a^{3} e x^{2} \log \left (x\right ) + 9240 \,{\left (3 \, a^{2} b e + a^{3} h\right )} x^{5} - 27720 \, a^{3} d x + 13860 \,{\left (3 \, a^{2} b d + a^{3} g\right )} x^{4} - 13860 \, a^{3} c + 27720 \,{\left (3 \, a^{2} b c + a^{3} f\right )} x^{3}}{27720 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((h*x^5 + g*x^4 + f*x^3 + e*x^2 + d*x + c)*(b*x^3 + a)^3/x^3,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.42572, size = 236, normalized size = 1.19 \[ a^{3} e \log{\left (x \right )} + \frac{b^{3} f x^{10}}{10} + \frac{b^{3} g x^{11}}{11} + \frac{b^{3} h x^{12}}{12} + x^{9} \left (\frac{a b^{2} h}{3} + \frac{b^{3} e}{9}\right ) + x^{8} \left (\frac{3 a b^{2} g}{8} + \frac{b^{3} d}{8}\right ) + x^{7} \left (\frac{3 a b^{2} f}{7} + \frac{b^{3} c}{7}\right ) + x^{6} \left (\frac{a^{2} b h}{2} + \frac{a b^{2} e}{2}\right ) + x^{5} \left (\frac{3 a^{2} b g}{5} + \frac{3 a b^{2} d}{5}\right ) + x^{4} \left (\frac{3 a^{2} b f}{4} + \frac{3 a b^{2} c}{4}\right ) + x^{3} \left (\frac{a^{3} h}{3} + a^{2} b e\right ) + x^{2} \left (\frac{a^{3} g}{2} + \frac{3 a^{2} b d}{2}\right ) + x \left (a^{3} f + 3 a^{2} b c\right ) - \frac{a^{3} c + 2 a^{3} d x}{2 x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x**3+a)**3*(h*x**5+g*x**4+f*x**3+e*x**2+d*x+c)/x**3,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.218421, size = 305, normalized size = 1.54 \[ \frac{1}{12} \, b^{3} h x^{12} + \frac{1}{11} \, b^{3} g x^{11} + \frac{1}{10} \, b^{3} f x^{10} + \frac{1}{3} \, a b^{2} h x^{9} + \frac{1}{9} \, b^{3} x^{9} e + \frac{1}{8} \, b^{3} d x^{8} + \frac{3}{8} \, a b^{2} g x^{8} + \frac{1}{7} \, b^{3} c x^{7} + \frac{3}{7} \, a b^{2} f x^{7} + \frac{1}{2} \, a^{2} b h x^{6} + \frac{1}{2} \, a b^{2} x^{6} e + \frac{3}{5} \, a b^{2} d x^{5} + \frac{3}{5} \, a^{2} b g x^{5} + \frac{3}{4} \, a b^{2} c x^{4} + \frac{3}{4} \, a^{2} b f x^{4} + \frac{1}{3} \, a^{3} h x^{3} + a^{2} b x^{3} e + \frac{3}{2} \, a^{2} b d x^{2} + \frac{1}{2} \, a^{3} g x^{2} + 3 \, a^{2} b c x + a^{3} f x + a^{3} e{\rm ln}\left ({\left | x \right |}\right ) - \frac{2 \, a^{3} d x + a^{3} c}{2 \, x^{2}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((h*x^5 + g*x^4 + f*x^3 + e*x^2 + d*x + c)*(b*x^3 + a)^3/x^3,x, algorithm="giac")
[Out]